package cn.cqie.attendance.teacher.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.apache.ibatis.type.Alias;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author wqh
 * @date 2021/7/16 13:54
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "TeacherHomeworkSet对象", description = "查询作业作业响应参数以及设置作业")
@Alias("TeacherHomeworkSet")
public class TeacherHomeworkSet implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "作业主题")
    private String homeworkTheme;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "计划完成时间")
    private Date endTime;

    @ApiModelProperty(value = "作业课程")
    private Integer courseId;

    @ApiModelProperty(value = "课程名称")
    private String courseName;

    @ApiModelProperty(value = "作业类型")
    private String homeworkType;

    @ApiModelProperty(value = "作业小组列表")
    private String groupId;

    @ApiModelProperty(value = "小组名称")
    private String groupName;

    @ApiModelProperty(value = "作业学生列表")
    private String stuId;

    @ApiModelProperty(value = "作业学生名称列表")
    private String studentName;

    @ApiModelProperty(value = "相关附件")
    private String address;

    @ApiModelProperty(value = "作业内容")
    private String workContent;

}
